home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / exec / devices.h < prev    next >
C/C++ Source or Header  |  1989-11-05  |  485b  |  24 lines

  1. #ifndef    EXEC_DEVICES_H
  2. #define    EXEC_DEVICES_H
  3. #ifndef EXEC_TYPES_H
  4. #include "exec/types.h"
  5. #endif /* !EXEC_TYPES_H */
  6. #ifndef    EXEC_LIBRARIES_H
  7. #include    "exec/libraries.h"
  8. #endif    /* !EXEC_LIBRARIES_H */
  9. #ifndef    EXEC_PORTS_H
  10. #include    "exec/ports.h"
  11. #endif    /* !EXEC_PORTS_H */
  12. struct    Device    {
  13. struct    Library    dd_Library;
  14. };
  15. struct    Unit    {
  16. struct    MsgPort    unit_MsgPort;
  17. UBYTE    unit_flags;
  18. UBYTE    unit_pad;
  19. UWORD    unit_OpenCnt;
  20. };
  21. #define    UNITF_ACTIVE    (1L<<0)
  22. #define    UNITF_INTASK    (1L<<1)
  23. #endif
  24.